<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>XSSFFont (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="XSSFFont (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XSSFFont.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFirstHeader.html" title="class in org.apache.poi.xssf.usermodel"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFontFormatting.html" title="class in org.apache.poi.xssf.usermodel"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xssf/usermodel/XSSFFont.html" target="_top">FRAMES</a></li>
<li><a href="XSSFFont.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.xssf.usermodel</p>
<h2 title="Class XSSFFont" class="title">Class XSSFFont</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.poi.xssf.usermodel.XSSFFont</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></dd>
</dl>
<hr>
<br>
<pre>public class <strong>XSSFFont</strong>
extends java.lang.Object
implements <a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></pre>
<div class="block">Represents a font used in a workbook.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Gisella Bronzetti</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#DEFAULT_FONT_COLOR">DEFAULT_FONT_COLOR</a></strong></code>
<div class="block">Default font color is black</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#DEFAULT_FONT_NAME">DEFAULT_FONT_NAME</a></strong></code>
<div class="block">By default, Microsoft Office Excel 2007 uses the Calibry font in font size 11</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#DEFAULT_FONT_SIZE">DEFAULT_FONT_SIZE</a></strong></code>
<div class="block">By default, Microsoft Office Excel 2007 uses the Calibry font in font size 11</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.poi.ss.usermodel.Font">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.poi.ss.usermodel.<a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></h3>
<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#ANSI_CHARSET">ANSI_CHARSET</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#BOLDWEIGHT_BOLD">BOLDWEIGHT_BOLD</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#BOLDWEIGHT_NORMAL">BOLDWEIGHT_NORMAL</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#COLOR_NORMAL">COLOR_NORMAL</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#COLOR_RED">COLOR_RED</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#DEFAULT_CHARSET">DEFAULT_CHARSET</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_NONE">SS_NONE</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_SUB">SS_SUB</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_SUPER">SS_SUPER</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SYMBOL_CHARSET">SYMBOL_CHARSET</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#U_DOUBLE">U_DOUBLE</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#U_DOUBLE_ACCOUNTING">U_DOUBLE_ACCOUNTING</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#U_NONE">U_NONE</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#U_SINGLE">U_SINGLE</a>, <a href="../../../../../org/apache/poi/ss/usermodel/Font.html#U_SINGLE_ACCOUNTING">U_SINGLE_ACCOUNTING</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#XSSFFont()">XSSFFont</a></strong>()</code>
<div class="block">Create a new XSSFont.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#XSSFFont(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont)">XSSFFont</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont&nbsp;font)</code>
<div class="block">Create a new XSSFFont</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#XSSFFont(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont, int)">XSSFFont</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont&nbsp;font,
        int&nbsp;index)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getBold()">getBold</a></strong>()</code>
<div class="block">get a boolean value for the boldness to use.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getBoldweight()">getBoldweight</a></strong>()</code>
<div class="block">get the boldness to use</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getCharSet()">getCharSet</a></strong>()</code>
<div class="block">get character-set to use.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getColor()">getColor</a></strong>()</code>
<div class="block">get the indexed color value for the font
 References a color defined in IndexedColors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getCTFont()">getCTFont</a></strong>()</code>
<div class="block">get the underlying CTFont font</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getFamily()">getFamily</a></strong>()</code>
<div class="block">get the font family to use.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getFontHeight()">getFontHeight</a></strong>()</code>
<div class="block">get the font height in point.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getFontHeightInPoints()">getFontHeightInPoints</a></strong>()</code>
<div class="block">get the font height</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getFontName()">getFontName</a></strong>()</code>
<div class="block">get the name of the font (i.e.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getIndex()">getIndex</a></strong>()</code>
<div class="block">get the index within the XSSFWorkbook (sequence within the collection of Font objects)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getItalic()">getItalic</a></strong>()</code>
<div class="block">get a boolean value that specify whether to use italics or not</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/ss/usermodel/FontScheme.html" title="enum in org.apache.poi.ss.usermodel">FontScheme</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getScheme()">getScheme</a></strong>()</code>
<div class="block">get the font scheme property.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getStrikeout()">getStrikeout</a></strong>()</code>
<div class="block">get a boolean value that specify whether to use a strikeout horizontal line through the text or not</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getThemeColor()">getThemeColor</a></strong>()</code>
<div class="block">get the color value for the font
 References a color defined in theme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getTypeOffset()">getTypeOffset</a></strong>()</code>
<div class="block">get normal,super or subscript.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getUnderline()">getUnderline</a></strong>()</code>
<div class="block">get type of text underlining to use</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getXSSFColor()">getXSSFColor</a></strong>()</code>
<div class="block">get the color value for the font
 References a color defined as  Standard Alpha Red Green Blue color value (ARGB).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#registerTo(org.apache.poi.xssf.model.StylesTable)">registerTo</a></strong>(<a href="../../../../../org/apache/poi/xssf/model/StylesTable.html" title="class in org.apache.poi.xssf.model">StylesTable</a>&nbsp;styles)</code>
<div class="block">Perform a registration of ourselves 
  to the style table</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setBold(boolean)">setBold</a></strong>(boolean&nbsp;bold)</code>
<div class="block">set a boolean value for the boldness to use.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setBoldweight(short)">setBoldweight</a></strong>(short&nbsp;boldweight)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setCharSet(byte)">setCharSet</a></strong>(byte&nbsp;charset)</code>
<div class="block">set character-set to use.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setCharSet(org.apache.poi.ss.usermodel.FontCharset)">setCharSet</a></strong>(<a href="../../../../../org/apache/poi/ss/usermodel/FontCharset.html" title="enum in org.apache.poi.ss.usermodel">FontCharset</a>&nbsp;charSet)</code>
<div class="block">set character-set to use.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setCharSet(int)">setCharSet</a></strong>(int&nbsp;charset)</code>
<div class="block">set character-set to use.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setColor(short)">setColor</a></strong>(short&nbsp;color)</code>
<div class="block">set the indexed color for the font</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setColor(org.apache.poi.xssf.usermodel.XSSFColor)">setColor</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a>&nbsp;color)</code>
<div class="block">set the color for the font in Standard Alpha Red Green Blue color value</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setFamily(org.apache.poi.ss.usermodel.FontFamily)">setFamily</a></strong>(<a href="../../../../../org/apache/poi/ss/usermodel/FontFamily.html" title="enum in org.apache.poi.ss.usermodel">FontFamily</a>&nbsp;family)</code>
<div class="block">set an enumeration representing the font family this font belongs to.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setFamily(int)">setFamily</a></strong>(int&nbsp;value)</code>
<div class="block">Set the font family this font belongs to.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setFontHeight(double)">setFontHeight</a></strong>(double&nbsp;height)</code>
<div class="block">set the font height in points.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setFontHeight(short)">setFontHeight</a></strong>(short&nbsp;height)</code>
<div class="block">set the font height in points.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setFontHeightInPoints(short)">setFontHeightInPoints</a></strong>(short&nbsp;height)</code>
<div class="block">set the font height in points.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setFontName(java.lang.String)">setFontName</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">set the name for the font (i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setItalic(boolean)">setItalic</a></strong>(boolean&nbsp;italic)</code>
<div class="block">set a boolean value for the property specifying whether to use italics or not
 If omitted, the default value is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setScheme(org.apache.poi.ss.usermodel.FontScheme)">setScheme</a></strong>(<a href="../../../../../org/apache/poi/ss/usermodel/FontScheme.html" title="enum in org.apache.poi.ss.usermodel">FontScheme</a>&nbsp;scheme)</code>
<div class="block">set font scheme property</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setStrikeout(boolean)">setStrikeout</a></strong>(boolean&nbsp;strikeout)</code>
<div class="block">set a boolean value for the property specifying whether to use a strikeout horizontal line through the text or not
 If omitted, the default value is true.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setThemeColor(short)">setThemeColor</a></strong>(short&nbsp;theme)</code>
<div class="block">set the theme color for the font to use</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setThemesTable(org.apache.poi.xssf.model.ThemesTable)">setThemesTable</a></strong>(<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a>&nbsp;themes)</code>
<div class="block">Records the Themes Table that is associated with
  the current font, used when looking up theme
  based colours and properties.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setTypeOffset(short)">setTypeOffset</a></strong>(short&nbsp;offset)</code>
<div class="block">set normal,super or subscript, that representing the vertical-alignment setting.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setUnderline(byte)">setUnderline</a></strong>(byte&nbsp;underline)</code>
<div class="block">set the style of underlining that is used.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#setUnderline(org.apache.poi.ss.usermodel.FontUnderline)">setUnderline</a></strong>(<a href="../../../../../org/apache/poi/ss/usermodel/FontUnderline.html" title="enum in org.apache.poi.ss.usermodel">FontUnderline</a>&nbsp;underline)</code>
<div class="block">set an enumeration representing the style of underlining that is used.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#toString()">toString</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_FONT_NAME">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FONT_NAME</h4>
<pre>public static final&nbsp;java.lang.String DEFAULT_FONT_NAME</pre>
<div class="block">By default, Microsoft Office Excel 2007 uses the Calibry font in font size 11</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.xssf.usermodel.XSSFFont.DEFAULT_FONT_NAME">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEFAULT_FONT_SIZE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FONT_SIZE</h4>
<pre>public static final&nbsp;short DEFAULT_FONT_SIZE</pre>
<div class="block">By default, Microsoft Office Excel 2007 uses the Calibry font in font size 11</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.xssf.usermodel.XSSFFont.DEFAULT_FONT_SIZE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEFAULT_FONT_COLOR">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DEFAULT_FONT_COLOR</h4>
<pre>public static final&nbsp;short DEFAULT_FONT_COLOR</pre>
<div class="block">Default font color is black</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/IndexedColors.html#BLACK"><code>IndexedColors.BLACK</code></a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="XSSFFont(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XSSFFont</h4>
<pre>public&nbsp;XSSFFont(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont&nbsp;font)</pre>
<div class="block">Create a new XSSFFont</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>font</code> - the underlying CTFont bean</dd></dl>
</li>
</ul>
<a name="XSSFFont(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XSSFFont</h4>
<pre>public&nbsp;XSSFFont(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont&nbsp;font,
        int&nbsp;index)</pre>
</li>
</ul>
<a name="XSSFFont()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XSSFFont</h4>
<pre>protected&nbsp;XSSFFont()</pre>
<div class="block">Create a new XSSFont. This method is protected to be used only by XSSFWorkbook</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getCTFont()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCTFont</h4>
<pre><a href="../../../../../org/apache/poi/util/Internal.html" title="annotation in org.apache.poi.util">@Internal</a>
public&nbsp;org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFont&nbsp;getCTFont()</pre>
<div class="block">get the underlying CTFont font</div>
</li>
</ul>
<a name="getBold()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBold</h4>
<pre>public&nbsp;boolean&nbsp;getBold()</pre>
<div class="block">get a boolean value for the boldness to use.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getBold()">getBold</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>boolean - bold</dd></dl>
</li>
</ul>
<a name="getCharSet()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCharSet</h4>
<pre>public&nbsp;int&nbsp;getCharSet()</pre>
<div class="block">get character-set to use.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getCharSet()">getCharSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>int - character-set (0-255)</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontCharset.html" title="enum in org.apache.poi.ss.usermodel"><code>FontCharset</code></a></dd></dl>
</li>
</ul>
<a name="getColor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColor</h4>
<pre>public&nbsp;short&nbsp;getColor()</pre>
<div class="block">get the indexed color value for the font
 References a color defined in IndexedColors.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getColor()">getColor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>short - indexed color to use</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/IndexedColors.html" title="enum in org.apache.poi.ss.usermodel"><code>IndexedColors</code></a></dd></dl>
</li>
</ul>
<a name="getXSSFColor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXSSFColor</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a>&nbsp;getXSSFColor()</pre>
<div class="block">get the color value for the font
 References a color defined as  Standard Alpha Red Green Blue color value (ARGB).</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>XSSFColor - rgb color to use</dd></dl>
</li>
</ul>
<a name="getThemeColor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getThemeColor</h4>
<pre>public&nbsp;short&nbsp;getThemeColor()</pre>
<div class="block">get the color value for the font
 References a color defined in theme.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>short - theme defined to use</dd></dl>
</li>
</ul>
<a name="getFontHeight()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontHeight</h4>
<pre>public&nbsp;short&nbsp;getFontHeight()</pre>
<div class="block">get the font height in point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getFontHeight()">getFontHeight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>short - height in point</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getFontHeightInPoints()"><code>Font.getFontHeightInPoints()</code></a></dd></dl>
</li>
</ul>
<a name="getFontHeightInPoints()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontHeightInPoints</h4>
<pre>public&nbsp;short&nbsp;getFontHeightInPoints()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getFontHeightInPoints()">Font</a></code></strong></div>
<div class="block">get the font height</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getFontHeightInPoints()">getFontHeightInPoints</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>short - height in the familiar unit of measure - points</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#getFontHeight()"><code>getFontHeight()</code></a></dd></dl>
</li>
</ul>
<a name="getFontName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getFontName()</pre>
<div class="block">get the name of the font (i.e. Arial)</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getFontName()">getFontName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>String - a string representing the name of the font to use</dd></dl>
</li>
</ul>
<a name="getItalic()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItalic</h4>
<pre>public&nbsp;boolean&nbsp;getItalic()</pre>
<div class="block">get a boolean value that specify whether to use italics or not</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getItalic()">getItalic</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>boolean - value for italic</dd></dl>
</li>
</ul>
<a name="getStrikeout()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStrikeout</h4>
<pre>public&nbsp;boolean&nbsp;getStrikeout()</pre>
<div class="block">get a boolean value that specify whether to use a strikeout horizontal line through the text or not</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getStrikeout()">getStrikeout</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>boolean - value for strikeout</dd></dl>
</li>
</ul>
<a name="getTypeOffset()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeOffset</h4>
<pre>public&nbsp;short&nbsp;getTypeOffset()</pre>
<div class="block">get normal,super or subscript.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getTypeOffset()">getTypeOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>short - offset type to use (none,super,sub)</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_NONE"><code>Font.SS_NONE</code></a>, 
<a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_SUPER"><code>Font.SS_SUPER</code></a>, 
<a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_SUB"><code>Font.SS_SUB</code></a></dd></dl>
</li>
</ul>
<a name="getUnderline()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnderline</h4>
<pre>public&nbsp;byte&nbsp;getUnderline()</pre>
<div class="block">get type of text underlining to use</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getUnderline()">getUnderline</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>byte - underlining type</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontUnderline.html" title="enum in org.apache.poi.ss.usermodel"><code>FontUnderline</code></a></dd></dl>
</li>
</ul>
<a name="setBold(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBold</h4>
<pre>public&nbsp;void&nbsp;setBold(boolean&nbsp;bold)</pre>
<div class="block">set a boolean value for the boldness to use. If omitted, the default value is true.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setBold(boolean)">setBold</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>bold</code> - - boldness to use</dd></dl>
</li>
</ul>
<a name="setBoldweight(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBoldweight</h4>
<pre>public&nbsp;void&nbsp;setBoldweight(short&nbsp;boldweight)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setBoldweight(short)">setBoldweight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
</dl>
</li>
</ul>
<a name="getBoldweight()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoldweight</h4>
<pre>public&nbsp;short&nbsp;getBoldweight()</pre>
<div class="block">get the boldness to use</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getBoldweight()">getBoldweight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>boldweight</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#BOLDWEIGHT_NORMAL"><code>Font.BOLDWEIGHT_NORMAL</code></a>, 
<a href="../../../../../org/apache/poi/ss/usermodel/Font.html#BOLDWEIGHT_BOLD"><code>Font.BOLDWEIGHT_BOLD</code></a></dd></dl>
</li>
</ul>
<a name="setCharSet(byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCharSet</h4>
<pre>public&nbsp;void&nbsp;setCharSet(byte&nbsp;charset)</pre>
<div class="block">set character-set to use.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setCharSet(byte)">setCharSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>charset</code> - - charset</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontCharset.html" title="enum in org.apache.poi.ss.usermodel"><code>FontCharset</code></a></dd></dl>
</li>
</ul>
<a name="setCharSet(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCharSet</h4>
<pre>public&nbsp;void&nbsp;setCharSet(int&nbsp;charset)</pre>
<div class="block">set character-set to use.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setCharSet(int)">setCharSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>charset</code> - - charset</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontCharset.html" title="enum in org.apache.poi.ss.usermodel"><code>FontCharset</code></a></dd></dl>
</li>
</ul>
<a name="setCharSet(org.apache.poi.ss.usermodel.FontCharset)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCharSet</h4>
<pre>public&nbsp;void&nbsp;setCharSet(<a href="../../../../../org/apache/poi/ss/usermodel/FontCharset.html" title="enum in org.apache.poi.ss.usermodel">FontCharset</a>&nbsp;charSet)</pre>
<div class="block">set character-set to use.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>charSet</code> - </dd></dl>
</li>
</ul>
<a name="setColor(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColor</h4>
<pre>public&nbsp;void&nbsp;setColor(short&nbsp;color)</pre>
<div class="block">set the indexed color for the font</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setColor(short)">setColor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>color</code> - - color to use</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#DEFAULT_FONT_COLOR"><code>- Note: default font color</code></a>, 
<a href="../../../../../org/apache/poi/ss/usermodel/IndexedColors.html" title="enum in org.apache.poi.ss.usermodel"><code>IndexedColors</code></a></dd></dl>
</li>
</ul>
<a name="setColor(org.apache.poi.xssf.usermodel.XSSFColor)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColor</h4>
<pre>public&nbsp;void&nbsp;setColor(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFColor.html" title="class in org.apache.poi.xssf.usermodel">XSSFColor</a>&nbsp;color)</pre>
<div class="block">set the color for the font in Standard Alpha Red Green Blue color value</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>color</code> - - color to use</dd></dl>
</li>
</ul>
<a name="setFontHeight(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontHeight</h4>
<pre>public&nbsp;void&nbsp;setFontHeight(short&nbsp;height)</pre>
<div class="block">set the font height in points.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setFontHeight(short)">setFontHeight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>height</code> - - height in points</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setFontHeightInPoints(short)"><code>Font.setFontHeightInPoints(short)</code></a></dd></dl>
</li>
</ul>
<a name="setFontHeight(double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontHeight</h4>
<pre>public&nbsp;void&nbsp;setFontHeight(double&nbsp;height)</pre>
<div class="block">set the font height in points.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>height</code> - - height in points</dd></dl>
</li>
</ul>
<a name="setFontHeightInPoints(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontHeightInPoints</h4>
<pre>public&nbsp;void&nbsp;setFontHeightInPoints(short&nbsp;height)</pre>
<div class="block">set the font height in points.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setFontHeightInPoints(short)">setFontHeightInPoints</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>height</code> - height in the familiar unit of measure - points</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setFontHeight(short)"><code>Font.setFontHeight(short)</code></a></dd></dl>
</li>
</ul>
<a name="setThemeColor(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setThemeColor</h4>
<pre>public&nbsp;void&nbsp;setThemeColor(short&nbsp;theme)</pre>
<div class="block">set the theme color for the font to use</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theme</code> - - theme color to use</dd></dl>
</li>
</ul>
<a name="setFontName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontName</h4>
<pre>public&nbsp;void&nbsp;setFontName(java.lang.String&nbsp;name)</pre>
<div class="block">set the name for the font (i.e. Arial).
 If the font doesn't exist (because it isn't installed on the system),
 or the charset is invalid for that font, then another font should
 be substituted.
 The string length for this attribute shall be 0 to 31 characters.
 Default font name is Calibri.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setFontName(java.lang.String)">setFontName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - - value representing the name of the font to use</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#DEFAULT_FONT_NAME"><code>DEFAULT_FONT_NAME</code></a></dd></dl>
</li>
</ul>
<a name="setItalic(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setItalic</h4>
<pre>public&nbsp;void&nbsp;setItalic(boolean&nbsp;italic)</pre>
<div class="block">set a boolean value for the property specifying whether to use italics or not
 If omitted, the default value is true.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setItalic(boolean)">setItalic</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>italic</code> - - value for italics or not</dd></dl>
</li>
</ul>
<a name="setStrikeout(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStrikeout</h4>
<pre>public&nbsp;void&nbsp;setStrikeout(boolean&nbsp;strikeout)</pre>
<div class="block">set a boolean value for the property specifying whether to use a strikeout horizontal line through the text or not
 If omitted, the default value is true.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setStrikeout(boolean)">setStrikeout</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>strikeout</code> - - value for strikeout or not</dd></dl>
</li>
</ul>
<a name="setTypeOffset(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTypeOffset</h4>
<pre>public&nbsp;void&nbsp;setTypeOffset(short&nbsp;offset)</pre>
<div class="block">set normal,super or subscript, that representing the vertical-alignment setting.
 Setting this to either subscript or superscript shall make the font size smaller if a
 smaller font size is available.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setTypeOffset(short)">setTypeOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - - offset type to use (none,super,sub)</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_NONE"><code>Font.SS_NONE</code></a>, 
<a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_SUPER"><code>Font.SS_SUPER</code></a>, 
<a href="../../../../../org/apache/poi/ss/usermodel/Font.html#SS_SUB"><code>Font.SS_SUB</code></a></dd></dl>
</li>
</ul>
<a name="setUnderline(byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUnderline</h4>
<pre>public&nbsp;void&nbsp;setUnderline(byte&nbsp;underline)</pre>
<div class="block">set the style of underlining that is used.
 The none style is equivalent to not using underlining at all.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#setUnderline(byte)">setUnderline</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>underline</code> - - underline type to use</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontUnderline.html" title="enum in org.apache.poi.ss.usermodel"><code>FontUnderline</code></a></dd></dl>
</li>
</ul>
<a name="setUnderline(org.apache.poi.ss.usermodel.FontUnderline)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUnderline</h4>
<pre>public&nbsp;void&nbsp;setUnderline(<a href="../../../../../org/apache/poi/ss/usermodel/FontUnderline.html" title="enum in org.apache.poi.ss.usermodel">FontUnderline</a>&nbsp;underline)</pre>
<div class="block">set an enumeration representing the style of underlining that is used.
 The none style is equivalent to not using underlining at all.
 The possible values for this attribute are defined by the FontUnderline</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>underline</code> - - FontUnderline enum value</dd></dl>
</li>
</ul>
<a name="toString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="registerTo(org.apache.poi.xssf.model.StylesTable)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerTo</h4>
<pre>public&nbsp;long&nbsp;registerTo(<a href="../../../../../org/apache/poi/xssf/model/StylesTable.html" title="class in org.apache.poi.xssf.model">StylesTable</a>&nbsp;styles)</pre>
<div class="block">Perform a registration of ourselves 
  to the style table</div>
</li>
</ul>
<a name="setThemesTable(org.apache.poi.xssf.model.ThemesTable)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setThemesTable</h4>
<pre>public&nbsp;void&nbsp;setThemesTable(<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a>&nbsp;themes)</pre>
<div class="block">Records the Themes Table that is associated with
  the current font, used when looking up theme
  based colours and properties.</div>
</li>
</ul>
<a name="getScheme()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScheme</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/ss/usermodel/FontScheme.html" title="enum in org.apache.poi.ss.usermodel">FontScheme</a>&nbsp;getScheme()</pre>
<div class="block">get the font scheme property.
 is used only in StylesTable to create the default instance of font</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>FontScheme</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#createDefaultFont()"><code>StylesTable.createDefaultFont()</code></a></dd></dl>
</li>
</ul>
<a name="setScheme(org.apache.poi.ss.usermodel.FontScheme)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setScheme</h4>
<pre>public&nbsp;void&nbsp;setScheme(<a href="../../../../../org/apache/poi/ss/usermodel/FontScheme.html" title="enum in org.apache.poi.ss.usermodel">FontScheme</a>&nbsp;scheme)</pre>
<div class="block">set font scheme property</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>scheme</code> - - FontScheme enum value</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontScheme.html" title="enum in org.apache.poi.ss.usermodel"><code>FontScheme</code></a></dd></dl>
</li>
</ul>
<a name="getFamily()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFamily</h4>
<pre>public&nbsp;int&nbsp;getFamily()</pre>
<div class="block">get the font family to use.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the font family to use</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontFamily.html" title="enum in org.apache.poi.ss.usermodel"><code>FontFamily</code></a></dd></dl>
</li>
</ul>
<a name="setFamily(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFamily</h4>
<pre>public&nbsp;void&nbsp;setFamily(int&nbsp;value)</pre>
<div class="block">Set the font family this font belongs to.
 A font family is a set of fonts having common stroke width and serif characteristics.
 The font name overrides when there are conflicting values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - - font family</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/ss/usermodel/FontFamily.html" title="enum in org.apache.poi.ss.usermodel"><code>FontFamily</code></a></dd></dl>
</li>
</ul>
<a name="setFamily(org.apache.poi.ss.usermodel.FontFamily)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFamily</h4>
<pre>public&nbsp;void&nbsp;setFamily(<a href="../../../../../org/apache/poi/ss/usermodel/FontFamily.html" title="enum in org.apache.poi.ss.usermodel">FontFamily</a>&nbsp;family)</pre>
<div class="block">set an enumeration representing the font family this font belongs to.
 A font family is a set of fonts having common stroke width and serif characteristics.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>family</code> - font family</dd></dl>
</li>
</ul>
<a name="getIndex()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndex</h4>
<pre>public&nbsp;short&nbsp;getIndex()</pre>
<div class="block">get the index within the XSSFWorkbook (sequence within the collection of Font objects)</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html#getIndex()">getIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/poi/ss/usermodel/Font.html" title="interface in org.apache.poi.ss.usermodel">Font</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>unique index number of the underlying record this Font represents (probably you don't care
  unless you're comparing which one is which)</dd></dl>
</li>
</ul>
<a name="hashCode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XSSFFont.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFirstHeader.html" title="class in org.apache.poi.xssf.usermodel"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFontFormatting.html" title="class in org.apache.poi.xssf.usermodel"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xssf/usermodel/XSSFFont.html" target="_top">FRAMES</a></li>
<li><a href="XSSFFont.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
